export const state = () => ({
    courseList: [
        {
            title:'青春正当时（大学新生入学教育）',
            courseId: '000000',
            stuNum: 100,
            tag: '专业课',
            timeRange: '2020-09-06 ~ 2020-09-21',
            teacherName: '谭火斌',
            description: '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        },
        {
            title:'青春正当时（大学新生入学教育）',
            courseId: '000001',
            stuNum: 100,
            tag: '专业课',
            timeRange: '2020-09-06 ~ 2020-09-21',
            teacherName: '谭火斌',
            description: '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        },
        {
            title:'青春正当时（大学新生入学教育）',
            courseId: '000002',
            stuNum: 100,
            tag: '专业课',
            timeRange: '2020-09-06 ~ 2020-09-21',
            teacherName: '谭火斌',
            description: '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        },
    ]
})

export const mutations = {
    addCourseList(state, value) {
        state.courseList.push({
            value,
            done: false
        })
    },
    setCourseList(state, msg) {
        state.courseList = msg
    },
}
